package moxl.relaxng.model;

import moxl.dom.MoxlElement;

public class ParsedRelaxNgSchema implements RelaxNgSchema
{
	private final MoxlElement grammarElement;

	public ParsedRelaxNgSchema(MoxlElement grammarElement)
	{
		this.grammarElement = grammarElement;
	}

	public boolean isValid(MoxlElement elementToValidate)
	{
		// TODO: Use implementation in MutableRelaxNgGrammar.
		throw new UnsupportedOperationException("TODO");
	}

	public MoxlElement getGrammarElement()
	{
		return grammarElement;
	}

	public void assertWellDefined() throws SchemaNotWellDefinedException
    {
	    throw new UnsupportedOperationException("TODO");
    }
}
